import React, { useEffect } from 'react'
import { connect } from 'react-redux'
function ShowInput(props) {
	useEffect(() => {
		console.log('执行')
	})
	return (
		<div>
			<div>组件二</div>
			<div>{props.inputValue}</div>
		</div>
	)
}
const mapStateToProps = (state) => {
	return state
}
export default connect(mapStateToProps, null)(ShowInput)
